package com.kaifamiao.exceptions;

public class ExceptionTest2 {

	@SuppressWarnings("null")
	public static void main(String[] args) {
		
		String s = null ;
		// NullPointerException: Cannot invoke "String.isEmpty()" because "s" is null
		System.out.println( s.isEmpty() ); // NPE: NullPointerException 

	}

}
